package online.learningsp.common.statusCode;

/**
 * @author QiuYingMu
 * @create 2024-05-11 17:36
 */
public enum LearningSpacePlusCodeEnum {

    SUCCESS(200,"success"),
    Error(400,"error"),
    UNKNOWN(500,"系统未知异常"),
    INVALID(512,"参数校验异常");

    private Integer code;
    private String msg;

    LearningSpacePlusCodeEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
